﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using MyBet.Class;
using MyBet.Helpers;

namespace MyBet
{
	public partial class EventList : UserControl
	{
        public EventGUI SelectedItem
        {
            get { return this.InternalEventList.SelectedItem as EventGUI; }
        }

		public EventList()
		{
			// Required to initialize variables
			InitializeComponent();
		}

        public void UpdateCulture()
        {
            EventListTitle.Text = LangHelper.GetString("EventListTitle").Trim();
        }

	}
}